<template>
  <view>
    <div> <!-- 返回按钮 -->
      <button class="back_button" @click="goBack()" plain="true">
        <image src="/static/icon/back.png" mode="aspectFill"
          style="height: 70px; width: 70px; border: none; border-radius: 100%;"></image>
      </button>
    </div>
  </view>
</template>

<script>
  export default {
    name: "backButton",
    data() {
      return {

      };
    },
    methods: {
      goBack() { //返回上个页面
        uni.navigateBack();
      },
    }
  }
</script>

<style>
  .back_button {
    position: absolute;
    border: none !important;
    border-color: transparent;
    right: 0%;
    top: 0%;
  }
</style>